package com.ruoyi.course.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题目对象 sys_topic
 * 
 * @author YJF
 */
@Data
public class SysTopic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long topicId;

    /** 题目名称 */
    @Excel(name = "题目名称")
    private String topicName;

    /** 题目说明 */
    @Excel(name = "题目说明")
    private String topicIntro;

    /** 题目排序 */
    @Excel(name = "题目排序")
    private Integer topicSort;

    /** 题目类型 */
    @Excel(name = "题目类型",type = Excel.Type.EXPORT)
    private Integer topicType;

    /** 题目类型名称 */
    @Excel(name = "题目类型",type = Excel.Type.IMPORT)
    private String topicTypeName;

    /** 题目难度 */
    @Excel(name = "题目难度", readConverterExp = "1=易,2=中,3=难")
    private Integer topicHard;

    /** 题目答案 */
    @Excel(name = "题目答案")
    private String topicAnswer;

    /** 来源 */
    @Excel(name = "来源", readConverterExp = "0=自增,1=导入,2=克隆", type = Excel.Type.EXPORT)
    private Integer topicSource;

    /** 状态,0正常1停用 */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private Integer topicStatus;

    /** 题目说明 */
    @Excel(name = "题目备注")
    private String topicRemark;

    /** 删除标志 */
    private String delFlag;

    public String getTopicTypeName() {
        return topicTypeName;
    }

    public void setTopicTypeName(String topicTypeName) {
        this.topicTypeName = topicTypeName;
    }

    public void setTopicId(Long topicId)
    {
        this.topicId = topicId;
    }

    public Long getTopicId() 
    {
        return topicId;
    }
    public void setTopicName(String topicName) 
    {
        this.topicName = topicName;
    }

    public String getTopicName() 
    {
        return topicName;
    }
    public void setTopicIntro(String topicIntro) 
    {
        this.topicIntro = topicIntro;
    }

    public String getTopicIntro() 
    {
        return topicIntro;
    }
    public void setTopicSort(Integer topicSort) 
    {
        this.topicSort = topicSort;
    }

    public Integer getTopicSort() 
    {
        return topicSort;
    }
    public void setTopicType(Integer topicType) 
    {
        this.topicType = topicType;
    }

    public Integer getTopicType() 
    {
        return topicType;
    }
    public void setTopicHard(Integer topicHard) 
    {
        this.topicHard = topicHard;
    }

    public Integer getTopicHard() 
    {
        return topicHard;
    }
    public void setTopicAnswer(String topicAnswer) 
    {
        this.topicAnswer = topicAnswer;
    }

    public String getTopicAnswer() 
    {
        return topicAnswer;
    }
    public void setTopicSource(Integer topicSource) 
    {
        this.topicSource = topicSource;
    }

    public Integer getTopicSource() 
    {
        return topicSource;
    }
    public void setTopicStatus(Integer topicStatus) 
    {
        this.topicStatus = topicStatus;
    }

    public Integer getTopicStatus() 
    {
        return topicStatus;
    }
    public void setTopicRemark(String topicRemark) 
    {
        this.topicRemark = topicRemark;
    }

    public String getTopicRemark() 
    {
        return topicRemark;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("topicId", getTopicId())
            .append("topicName", getTopicName())
            .append("topicIntro", getTopicIntro())
            .append("topicSort", getTopicSort())
            .append("topicType", getTopicType())
            .append("topicHard", getTopicHard())
            .append("topicAnswer", getTopicAnswer())
            .append("topicSource", getTopicSource())
            .append("topicStatus", getTopicStatus())
            .append("topicRemark", getTopicRemark())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
